package com.ujiuye.entity;

public class Student {
    private int sid;
    private String sname;
    private int age;
    private String tel;
    private String sbir;
    private int sex;
    private String spic;

    public Student() {
    }

    public Student(String sname, int age, String tel, String sbir, int sex,String spic) {
        this.sname = sname;
        this.age = age;
        this.tel = tel;
        this.sbir = sbir;
        this.sex = sex;
        this.spic= spic;
    }

    public int getSid() {
        return sid;
    }

    public String getSpic() {
        return spic;
    }

    public void setSpic(String spic) {
        this.spic = spic;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getSbir() {
        return sbir;
    }

    public void setSbir(String sbir) {
        this.sbir = sbir;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", age=" + age +
                ", tel='" + tel + '\'' +
                ", sbir='" + sbir + '\'' +
                ", sex=" + sex +
                ", spic='" + spic + '\'' +
                '}';
    }
}
